package com.sokal.easycare.modules.shares.dao;

import com.sokal.easycare.common.persistence.CrudDao;
import com.sokal.easycare.common.persistence.annotation.MyBatisDao;
import com.sokal.easycare.modules.shares.entity.ExperienceSharing;

/**
 * 经验分享-结合软文分享、图像、视频DAO接口
 * @author lihaipei
 * @version 2017-03-30
 */
@MyBatisDao
public interface ExperienceSharingDao extends CrudDao<ExperienceSharing> {
	
	/** 更新浏览数量*/
	public int updateHitsAddOne(String id);
	
	/** 更新点赞数量+1*/
	public int updatePointsAddOne(String id);
	
	/** 更新留言数量*/
	public int updateMessagesAddOne(String id);
	
	/** 更新点赞数量-1*/
	public int updatePointsReduceOne(String id);
}